import request from '@/request/request'
export function goodsList (data) { //列表
  return request({
    url: '/mall-goods/mall-goods/recommend/rand',
    method: 'get',
    params : data
  })
}
export function goodsListPaging (data) { //分页列表
  return request({
    url: '/mall-goods/mall-goods/recommend/boutique',
    method: 'get',
    params : data
  })
}
export function activityGoodsList (data) { //获取限时抢购列表
  return request({
    url: '/market-activity/activity',
    method: 'get',
    params : data
  })
}
export function getadvertising (locationNum) { //根据广告配置位置 获取详情
  return request({
    url: '/cms/location/number/' + locationNum,
    method: 'get',
    params : locationNum
  })
}
